package com.he.adaptermodel.adaptee;

/**
 * 被适配者
 */
public class ForeignCenter {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void attack() {
        System.out.println("外籍中锋"+name+"进攻");
    }

    public void defend() {
        System.out.println("外籍中锋"+name+"防守");

    }
}
